package org.jeecg.modules.message.job;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.job.annotation.CustomJob;
import org.jeecg.common.util.DateUtils;
import org.springframework.stereotype.Component;

/**
 * 发送消息任务
 * @author: jeecg-boot
 */

@Slf4j
@Component
public class SendMsgJob{

	@CustomJob(name = "测试定时任务", defaultCronExpression = "0 0/10 * * * ?")
	public void test() {
		log.info(String.format("测试发送消息任务 SendMsgJob !  时间:" + DateUtils.getTimestamp()));
	}
}
